package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 省份表
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("base_province")
public class BaseProvince implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 省ID
     */
    @TableId(value = "province_id", type = IdType.AUTO)
    private Long provinceId;
    /**
     * 省份代码
     */
    @TableField("province_code")
    private String provinceCode;
    /**
     * 省份名称
     */
    @TableField("province_name")
    private String provinceName;
    /**
     * 省拼音
     */
    @TableField("province_pinyin")
    private String provincePinyin;
    /**
     * 排序
     */
    @TableField("province_order")
    private Integer provinceOrder;
    /**
     * 国家ID
     */
    @TableField("country_id")
    private Integer countryId;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建者
     */
    @TableField("created_by")
    private String createdBy;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 修改者
     */
    @TableField("modified_by")
    private String modifiedBy;
    /**
     * 修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 数据状态
     */
    @TableField("rd_status")
    private Integer rdStatus;


    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvincePinyin() {
        return provincePinyin;
    }

    public void setProvincePinyin(String provincePinyin) {
        this.provincePinyin = provincePinyin;
    }

    public Integer getProvinceOrder() {
        return provinceOrder;
    }

    public void setProvinceOrder(Integer provinceOrder) {
        this.provinceOrder = provinceOrder;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    @Override
    public String toString() {
        return "BaseProvince{" +
        ", provinceId=" + provinceId +
        ", provinceCode=" + provinceCode +
        ", provinceName=" + provinceName +
        ", provincePinyin=" + provincePinyin +
        ", provinceOrder=" + provinceOrder +
        ", countryId=" + countryId +
        ", remark=" + remark +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", modifiedBy=" + modifiedBy +
        ", modifiedTime=" + modifiedTime +
        ", rdStatus=" + rdStatus +
        "}";
    }
}
